<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>

<body>
  <script>
    // 问：
    console.log(1);

    setTimeout(function () {
      console.log(2);
    }, 1000);

    console.log(3);
  </script>
</body>

</html>